#
# Makefile ingenio/trunk/_tanila/js/tanilaeditor/css/
#

CLEANFILES = *~ .*~ tanilaeditor-sprite.css tanilaeditor-sprite-min.css ssv.png
EXPFILES = tanilaeditor-sprite-min.css ssv.png 
#DIRS = $(shell find . -maxdepth 1 -name '[!.]*' -type d)

all: css

js: ;

css: tanilaeditor-sprite-min.css

tanilaeditor-sprite-min.css: tanilaeditor-sprite.css
	@yuicompressor $<

tanilaeditor-sprite.css: tanilaeditor.css
	@smartsprite $<

clean:
	rm -f $(CLEANFILES)
#	@for i in $(DIRS); do make -S clean -C $$i; done;

export: all
	@mkdir -p ../../export/css/
	@cp $(EXPFILES) ../../export/css/
	@for i in $(DIRS); do make -S export -C $$i; done


